<div class="margin-top">
    <div class="">
        <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
            <thead>
                <tr>
                    <th class="text-center">
                        <vc:i18n name="申请单号" namespace="staffDetailPurchaseApply"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="申请人" namespace="staffDetailPurchaseApply"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="使用人" namespace="staffDetailPurchaseApply"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="操作人" namespace="staffDetailPurchaseApply"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="物品" namespace="staffDetailPurchaseApply"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="申请时间" namespace="staffDetailPurchaseApply"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="采购方式" namespace="staffDetailPurchaseApply"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="审批状态" namespace="staffDetailPurchaseApply"></vc:i18n>
                    </th>
                    <th class="text-center">
                        <vc:i18n name="操作" namespace="staffDetailPurchaseApply"></vc:i18n>
                    </th>
                </tr>
            </thead>
            <tbody>
                <tr v-for="purchaseApply in staffDetailPurchaseApplyInfo.purchaseApplys">
                    <td class="text-center">{{purchaseApply.applyOrderId}}</td>
                    <td class="text-center">{{purchaseApply.userName}}</td>
                    <td class="text-center">{{purchaseApply.endUserName}}</td>
                    <td class="text-center">{{purchaseApply.createUserName}}</td>
                    <td class="text-center">{{purchaseApply.resourceNames}}</td>
                    <td class="text-center">{{purchaseApply.createTime}}</td>
                    <td class="text-center">
                        {{purchaseApply.warehousingWay == 10000 ? '直接入库' : purchaseApply.warehousingWay == 20000
                        ? '采购入库' : '紧急采购'}}
                    </td>
                    <td class="text-center">{{purchaseApply.stateName}}</td>
                    <td class="text-center">
                        <div class="btn-group">
                            <button class="btn-white btn btn-xs"
                                v-on:click="_openDetailPurchaseApplyModel(purchaseApply)">
                                    <vc:i18n name="查看" namespace="staffDetailPurchaseApply"></vc:i18n>
                            </button>
                        </div>
                        <div class="btn-group"
                            v-if="purchaseApply.warehousingWay != 10000 && purchaseApply.warehousingWay != 30000">
                            <button class="btn-white btn btn-xs" v-on:click="_openRunWorkflowImage(purchaseApply)">
                                    <vc:i18n name="流程图" namespace="staffDetailPurchaseApply"></vc:i18n>
                            </button>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <!-- 分页 -->
        <div class="row">
            <div class="col-sm-4">

            </div>
            <div class="col-sm-8">
                <vc:create namespace="staffDetailPurchaseApply" path="frame/paginationPlus"></vc:create>
            </div>
        </div>
    </div>
</div>